import request from './request.js'
// 退单
export const cancelOrder = (data, callback, hideLoading) => request('/wechat/qian/cancel_order', 'post', data, false);
// 财务总计
export const financeStatistics = (data, callback, hideLoading) => request('/wechat/qian/finance_statistics', 'get', data, false);
// 财务结款
export const financePay = (data, callback, hideLoading) => request('/wechat/qian/finance_pay', 'post', data, false);
// 财务待结款
export const financeUnpay = (data, callback, hideLoading) => request('/wechat/qian/finance_index', 'get', data, false);
// 创建订单
export const createOrder = (data, callback, hideLoading) => request('/wechat/qian/create_order', 'post', data, false);
//学生列表
 export const getStudentList = (data, callback, hideLoading) => request('/wechat/qian/student_list', 'get', data, false);
// 客户信息列表
 export const getStudentIndex = (data, callback, hideLoading) => request('/wechat/qian/student_index', 'get', data, false);
 // 订单业务列表
 export const getOrderIndex = (data, callback, hideLoading) => request('/wechat/qian/order_index', 'get', data, false);
 // 修改订单价格和收款
 export const editOrderPrice = (data, callback, hideLoading) => request('/wechat/qian/edit_price', 'post', data, false);
 // 退单
 // export const refundOrder = (data, callback, hideLoading) => request('/wechat/qian/refund', 'post', data, false);
 // 退单列表
 export const getCancelList = (data, callback, hideLoading) => request('/wechat/qian/order_cancel_index', 'get', data, false);